<!DESCRIPTION>A CSS horizontal menu with links that hovers up when the mouse moves over them. In non IE modern browsers such as Firefox and Opera7+, the links depress as well on mousedown. 100% CSS, no scripting involved.
<!/DESCRIPTION>
<!CATEGORY>drop down menus - css<!/CATEGORY>
<!SCRIPT>
<!-- START OF SCRIPT -->
<!-- Step 1: Insert the following style sheet to the HEAD section of your page: -->
<style type="text/css">
.hovermenu ul{
font: bold 13px arial;
padding-left: 0;
margin-left: 0;
height: 20px;
}
.hovermenu ul li{
list-style: none;
display: inline;
}
.hovermenu ul li a{
padding: 2px 0.5em;
text-decoration: none;
float: left;
color: black;
background-color: #FFF2BF;
border: 2px solid #FFF2BF;
}
.hovermenu ul li a:hover{
background-color: #FFE271;
border-style: outset;
}
html>body .hovermenu ul li a:active{ /* Apply mousedown effect only to NON IE browsers */
border-style: inset;
}
</style>
<!-- Step 2: Add the below HTML to the body of your page. -->